import Layout from "@/layout/index.vue";

const dashboardRoutes = [
    {
        path: '/dashboard',
        name: 'Dashboard',
        component: Layout,
        redirect: '/dashboard/analysis',
        meta: {
            title: '仪表盘',
        },
        children: [
            {
                path: 'analysis',
                name: 'Analysis',
                component: () => import('@/views/dashboard/analysis/index.vue'),
                meta: {
                    title: '分析页',
                }
            },
        ],
    }
];

export default {
    sort: 1,
    routes: dashboardRoutes,
}